﻿Imports System
Imports System.Collections.Generic
Imports System.Linq
Imports System.Web
Imports Contracts
Imports Entities

Public Class GetBorrowerWithWrap
  Inherits Albatross.ServerSide.Messaging.RequestHandler(Of GetBorrowerWithWrapI)

  Public Overloads Overrides Function Handle(ByVal request As GetBorrowerWithWrapI) As Albatross.Common.Messaging.Response
    Dim response = New GetBorrowerO()

    'Notice you can access request.BorrowerID

    response.MyBorrower = New Borrower()
    response.MyBorrower.FirstName = "Alex"
    response.MyBorrower.LastName = "Smith"

    Return response
  End Function
End Class
